package com.ibm.risk.irmp.base.auth.entity;

import jakarta.persistence.Entity;
import jakarta.persistence.Id;
import jakarta.persistence.IdClass;
import jakarta.persistence.Table;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author WeiYZZhou
 */
@Data
@Entity
@Table(name = "ri_base_auth_role_biz_branch")
@NoArgsConstructor
@AllArgsConstructor
@IdClass(value = SystemBizBranchRoleCompositeKey.class)
public class SystemBizBranchRole {
    @Id
    private String branchCode;
    @Id
    private String roleCode;
}
